/* stylelint-disable docusaurus/copyright-header */
/**
 * 全局自定义 CSS。集成 Infima 和 tailwind
 */

@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Gruppo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* 覆盖默认的 Infima 变量 */
:root {
    --ifm-color-primary: rgb(24, 144, 255);
    --ifm-color-primary-dark: rgb(21, 132, 235);
    --ifm-color-primary-darker: rgb(18, 120, 215);
    --ifm-color-primary-darkest: rgb(6, 100, 187);
    --ifm-color-primary-light: rgb(45, 154, 255);
    --ifm-color-primary-lighter: rgb(62, 162, 255);
    --ifm-color-primary-lightest: rgb(105, 183, 255);
    /* --ifm-color-primary: rgb(37, 194, 160);
    --ifm-color-primary-dark: rgb(33, 175, 144);
    --ifm-color-primary-darker: rgb(31, 165, 136);
    --ifm-color-primary-darkest: rgb(26, 136, 112);
    --ifm-color-primary-light: rgb(70, 203, 174);
    --ifm-color-primary-lighter: rgb(102, 212, 189);
    --ifm-color-primary-lightest: rgb(146, 224, 208); */
    --ifm-code-font-size: 95%;
    --ifm-navbar-background-color: var(--color-purple);
    --ifm-navbar-height: 64px;
    --ifm-menu-color-background-active: rgba(255, 255, 255, 0.05);
    --ifm-menu-color-background-hover: rgba(255, 255, 255, 0.05);
    --color-purple: #331049;
    --color-turquoise: #0ccee9;
    --color-blue: #0b82f0;
    --color-text-white: white;
    --color-text-black: #3a3e4a;
    --color-bg-white: white;
    --ifm-navbar-sidebar-width: 100%;
    --ifm-table-cell-padding: 6px 8px;
    /* --ifm-scrollbar-thumb-hover-background-color: transparent; */
    --doc-sidebar-width: 270px !important;
    --ifm-scrollbar-track-background-color: transparent !important;
    --ifm-menu-link-padding-horizontal: 0.375rem;
    --ifm-menu-link-padding-vertical: 0.375rem;
    --ifm-breadcrumb-item-background-active: transparent;
    --ifm-breadcrumb-spacing: 0.25rem;
    --ifm-breadcrumb-padding-horizontal: 0.4rem;
    --ifm-font-color-base: #3a3e4a;
    --tutorial-toc-bg-color: #f1f5f9;
    --tutorial-toc-text-color: #292d3e;
    --tutorial-toc-text-color-dark: #252527;
    --tutorial-toc-text-color-light: #6b7280;
    --prism-background-color: #292d3e;
    --docusaurus-highlighted-code-line-bg: rgb(72 77 91);
    --ifm-code-font-size: 85%;
    --browser-window-bezel-color: #ebedf0;
    --browser-window-bezel-color-accent: #ebedf0;
    --ifm-alert-border-radius: 0.25rem;
    --ifm-alert-shadow: 0.5px 1px 1px 0px rgba(0, 0, 0, 0.15);
    /* var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base) */
    --ifm-menu-link-sublist-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-up'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
    --ifm-font-family-base: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --tutorial-card-bg: var(--ifm-card-background-color);
    ---tutorial-card-bg-hover: var(--ifm-card-background-color);
}

[data-theme="dark"] {
    --tutorial-card-bg: #252527;
    --tutorial-card-bg-hover: #2c2e33;
    --ifm-font-color-base: #f6f6f9;
    --docusaurus-highlighted-code-line-bg: rgb(72 77 91);
    --browser-window-bezel-color: #292d3e;
    --browser-window-bezel-color-accent: #4e5264;
    --tutorial-toc-bg-color: #27272a;
    --tutorial-toc-text-color: #ebedf0;
    --tutorial-toc-text-color-dark: #f1f1f1;
    --tutorial-toc-text-color-light: #dddee0;
}
.img-container {
    display: flex;
    flex-direction: column;
    border-radius: 6.4px;
    overflow: auto;
    box-shadow: var(--ifm-alert-shadow);
}
.centered-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-container {
    background-color: #f8f8f8;
    padding: 18px;
    border-radius: 10px;
}

.banner-header {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
}

.window {
    display: flex;
    align-items: center;
    padding: 0px 16px;
    background: #292d3e;
    height: 32px;
}

.window .control {
    width: 16px;
    height: 16px;
    border-radius: 999px;
}

.window .control:nth-child(2),
.control:nth-child(3) {
    margin-left: 8px;
}

.window .control.red {
    background: rgb(230, 54, 54);
}

.window .control.orange {
    background: rgb(217, 119, 6);
}

.window .control.green {
    background: rgb(5, 150, 105);
}

@media screen and (max-width: 650px) {
    .window {
        height: 16px;
    }

    .window .control {
        width: 8px;
        height: 8px;
    }

    .window .control:nth-child(2),
    .control:nth-child(3) {
        margin-left: 4px;
    }
}

.docusaurus-highlight-code-line {
    background-color: rgb(72, 77, 91);
    display: block;
    margin: 0 calc(-1 * var(--ifm-pre-padding));
    padding: 0 var(--ifm-pre-padding);
}

/* .deprecated {
    font-size: 13px;
    border-radius: 3px;
    border-style: solid;
    border-color: orange;
    color: orange;
    border-width: 1px;
    letter-spacing: 0.02rem;
    margin-right: 0;
    padding: 2px 6px;
    display: inline-block;
    margin-left: 5px;
}

.deprecated--block {
    font-size: 13px;
    border-radius: 3px;
    border-style: solid;
    border-color: orange;
    color: orange;
    border-width: 1px;
    letter-spacing: 0.02rem;
    margin-right: 0;
    padding: 2px 6px;
    display: inline-block;
    margin: 0 0 10px 0;
    word-break: keep-all;
} */

/* .deprecated::before,
.deprecated--block::before {
    content: "⚠️ deprecated";
    color: orange;
    margin-right: 4px;
} */

.required-block {
    display: flex;
    align-items: center;
}

.footer__links {
    margin-bottom: 20px;
}

.footer__col:first-child {
    flex: 2;
}

.footer__col:first-child .footer__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer__col:first-child .footer__items .footer__item {
    flex-basis: 50%;
}

@media screen and (max-width: 966px) {
    .footer__link-item {
        font-size: 14px;
    }
}

.language-js {
    font-size: 9px;
}

.required {
    border-radius: 3px;
    border-style: solid;
    border-color: #fa5035;
    color: #fa5035;
    border-width: 1px;
    letter-spacing: 0.02rem;
    margin-right: 0;
    padding: 0 6px;
    display: inline-block;
    margin-left: 5px;
}

.info {
    border-radius: 3px;
    border-style: solid;
    border-color: #1054e5;
    color: #1054e5;
    border-width: 1px;
    letter-spacing: 0.02rem;
    margin-right: 0;
    padding: 0 6px;
    display: inline-block;
    margin-left: 5px;
}

/* 通用元素水平/垂直居中 */
.row--justify--center {
    justify-content: center;
}

.row--align--center {
    align-items: center;
}

/* Header */
.navbar__brand {
    margin-left: 8px;
}

.navbar__link {
    font-weight: 600;
}

.navbar__toggle {
    color: var(--color-text-white);
}

.navbar-sidebar__brand {
    justify-content: space-between;
    box-shadow: none;
}

.navbar-sidebar__items .menu__list .menu__link {
    color: var(--color-text-white);
}

.navbar-sidebar__items .menu__list .menu__link.menu__link--sublist::after {
    filter: invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg)
        brightness(104%) contrast(98%);
}

.navbar-sidebar__back {
    color: var(--color-text-white);
}

.header-last-nav-item {
    margin-right: 30px;
}

.header-icon-link {
    transition: 0.5s;
}

.header-icon-link:hover {
    /* filter: brightness(2); */
}

.header-icon-link::before {
    content: "";
    display: flex;
    height: 24px;
    width: 24px;
}

.popover-icon-link::before {
    content: "";
    display: flex;
    height: 24px;
    width: 24px;
}

.header-github-link::before {
    background: url("/icons/github.svg");
    background-size: contain;
}

.header-discord-link::before {
    background: url("/icons/discord.svg");
    background-size: contain;
}

.header-twitter-link::before {
    background: url("/icons/twitter.svg");
    background-size: contain;
}

/* 代码样式 */
.pre {
    text-align: left;
    margin: 1em 0;
    padding: 0.5em;
    overflow: auto;
}

.pre .token-line {
    line-height: 1.3em;
    height: 1.3em;
}

.code-line {
    display: table-row;
}

.code-line-no {
    display: table-cell;
    text-align: right;
    padding-right: 1em;
    user-select: none;
    opacity: 0.5;
}

.code-line-content {
    display: table-cell;
}

[class^="announcementBar"] {
    border: none !important;
}

.tutorial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 16px;
}

.tutorial-cards > a {
    width: 100%;
}

/* 修复Antd layout Sider */
.ant-layout-sider-trigger {
    position: sticky !important;
}

.markdown .live-editor-wrapper li + li {
    margin-top: 0;
}

.live-editor-wrapper table th,
.live-editor-wrapper table td {
    border: none;
}

.live-editor-wrapper table tr:nth-child(2n) {
    background: none;
}

.code-block-hidden,
.code-block-hidden.theme-code-block-highlighted-line {
    display: none;
}

.with-hoverline.hoverline-link {
    @apply relative;
}

.with-hoverline.hoverline-link:not([role=button]):hover::after,
.with-hoverline.navbar__link--active:not([role=button])::after {
    content: "";
    @apply absolute bottom-[-5px] left-[calc(50%-12px)] h-1 w-6 rounded-sm bg-[#1890ff] transition-opacity duration-200 ease-in-out;
}

.with-hoverline.hoverline-link[role=button]:hover::before {
    content: "";
    @apply absolute bottom-[-5px] left-[calc(50%-12px)] h-1 w-6 rounded-sm bg-[#1890ff] transition-opacity duration-200 ease-in-out;
}

.active-navbar-link::after {
    content: "";
    @apply absolute bottom-[-5px] left-[calc(50%-12px)] h-1 w-6 rounded-sm bg-[#1890ff] transition-opacity duration-200 ease-in-out;
}

.ep-docsearch-button {
    @apply flex h-7 w-7 cursor-pointer appearance-none items-center justify-between rounded-2xl border-none bg-[#f6f6f9] px-2 py-0 md:w-[150px] md:px-3 xl:w-[196px];
}

.ep-docsearch-button .DocSearch-Button-Placeholder {
    @apply font-montserrat hidden text-xs font-semibold text-[#2A2A42] md:block;
}

.ep-docsearch-button .DocSearch-Search-Icon {
    @apply -mt-px h-3 w-3 stroke-[2px];
}

.ep-docsearch-button .DocSearch-Button-Keys {
    @apply hidden w-auto min-w-0 md:flex;
}

#__docusaurus .navbar .navbar__items .navbar__item {
    @apply hidden lg:inline-block;
}

#__docusaurus .navbar .navbar__items .header-icon-link {
    @apply hidden xl:inline-block;
}

.ep-docsearch-button .DocSearch-Button-Keys kbd {
    background: none;
    @apply font-montserrat text-xs font-semibold text-[#2A2A42];
    @apply mr-0 h-auto w-auto appearance-none border-0 border-none bg-transparent pb-0 pt-0.5 shadow-none;
}

.ep-docsearch-button .DocSearch-Button-Keys kbd:last-child::before {
    position: relative;
    display: block;
    content: "+";
}

.navbar-sidebar__item.menu .menu__list {
    padding-left: 0;
}

.navbar-sidebar__item.menu .menu__list .menu__list-item .menu__link {
    @apply font-montserrat block text-center font-semibold text-[#2a2a42];
}

.theme-doc-sidebar-item-category.menu__list-item {
    @apply opacity-90;
}

#__docusaurus .navbar-sidebar__items--show-secondary {
    transform: translate3d(calc(100% * -1), 0, 0);
}

#__docusaurus
    .navbar-sidebar__items
    .menu__list
    .menu__link.menu__link--sublist::after {
    display: block;
    position: relative;
    margin-top: -20px;
    filter: none;
}

#__docusaurus
    .navbar-sidebar__items
    .menu__list
    .menu__link.menu__link--sublist[role="button"]::after {
    bottom: unset;
    margin-top: 0;
    top: -26px;
    left: unset;
    height: 24px;
    width: 24px;
    background-color: transparent;
}

#__docusaurus .menu__link.menu__link--sublist[role="button"] {
    height: 40px;
}

#__docusaurus .clean-btn.navbar-sidebar__back {
    @apply font-montserrat mb-4 text-center font-semibold text-[#2a2a42];
}

#__docusaurus .navbar-sidebar__item.menu a[href="https://github.com/Dejavu-Tech/eaterplanet"]::after
{
    display: none;
}

#__docusaurus .social-icons .header-icon-link::before {
    width: 32px;
    height: 32px;
}

#__docusaurus .social-icons .header-icon-link.header-github-link::before {
    width: 32px;
    height: 32px;
    margin-top: 3px;
}

#__docusaurus .navbar-sidebar__items .with-hoverline .menu__link--active {
    position: relative;
}

/* #__docusaurus
    .with-hoverline
    .navbar-sidebar__items
    .menu__link--active::before {
    content: "";
    @apply absolute bottom-[-5px] left-[calc(50%-12px)] h-1 w-6 rounded-sm bg-[#1890ff] transition-opacity duration-200 ease-in-out;
} */

#__docusaurus .with-hoverline.active-item::before {
    content: "";
    @apply absolute bottom-[-5px] left-[calc(50%-12px)] h-1 w-6 rounded-sm bg-[#1890ff] transition-opacity duration-200 ease-in-out;
}

#__docusaurus .with-hoverline.navbar-sidebar__items .menu__link--active {
    position: relative;
}

.with-hoverline .active-item.hoveline-link {
    @apply relative;
}

#__docusaurus .menu__link--active:not(.menu__link--sublist) {
    background-color: transparent;
}

.navbar .navbar__items .navbar__item {
    @apply hidden xl:inline-block;
}

html[data-page="index"] {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

#__docusaurus .main-wrapper {
    padding-top: 64px;
}

#__docusaurus .text-color-base {
    color: var(--ifm-font-color-base);
}

#__docusaurus .blog-post-item-shadow {
    box-shadow: 6px 8px 16px rgba(42, 42, 66, 0.4);
}

#__docusaurus .pagination-item {
    @apply flex h-8 w-8 items-center justify-center rounded-lg border border-solid border-gray-200 leading-tight transition duration-200 ease-in-out hover:border-[#1890FF] hover:text-[#1890FF];
    color: var(--ifm-font-color-base);
}

#__docusaurus .pagination-item.disabled {
    @apply text-gray-200 cursor-not-allowed hover:border-gray-200 hover:text-gray-200;
}

#__docusaurus .pagination-item.active {
    @apply border-[#1890FF] text-[#1890FF];
}

#__docusaurus .dots {
    @apply h-8 border-none cursor-default;
}

#__docusaurus .custom-table-of-contents .table-of-contents {
    @apply pl-0;
    border: none;
}

@media (max-width: 1023px) {
    #__docusaurus .custom-table-of-contents .table-of-contents {
        @apply hidden;
    }
}

#__docusaurus .github-banner-bg {
    background-image: url("/img/blog-static/github-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}

#__docusaurus .twitter-banner-bg {
    background: linear-gradient(90deg, #3fdcf7 2.01%, #1890ff 99.51%);
}

#__docusaurus .blog-paginator-item:hover {
    background: linear-gradient(90deg, #3fdcf7 2.01%, #1890ff 99.51%);
}

#__docusaurus .blog-paginator-item:hover #post-title {
    @apply text-white;
}
#__docusaurus .blog-paginator-item:hover #author-title {
    @apply font-semibold text-white;
}
#__docusaurus .blog-paginator-item:hover #author-name {
    @apply text-white;
}
#__docusaurus .blog-paginator-item:hover #post-info {
    @apply font-semibold text-white;
}

#__docusaurus .sticky-author-card {
    position: sticky;
    top: calc(var(--ifm-navbar-height) + 1rem);
}

#__docusaurus .all-tags-button {
    background: linear-gradient(90deg, #3fdcf7 2.01%, #1890ff 99.51%);
}

#__docusaurus .all-tags-button:hover svg {
    @apply -translate-x-1;
}

@media (min-width: 1024px) {
    html[data-page="index"] footer.ep-footer-index {
        scroll-snap-align: end;
    }
}

.DocSearch--active .DocSearch-Modal {
    @apply fixed md:relative;
}

.navbar-sidebar__items.navbar-sidebar__items--show-secondary
    .navbar-sidebar__item.menu
    .menu__list,
.navbar-sidebar__items.navbar-sidebar__items--show-secondary .menu__list-item,
.navbar-sidebar__items.navbar-sidebar__items--show-secondary .menu__link {
    text-align: left !important;
}

#__docusaurus
    .navbar-sidebar__items.navbar-sidebar__items--show-secondary
    .menu__list {
    padding-left: 0.75rem;
}

#__docusaurus
    .navbar-sidebar__items.navbar-sidebar__items--show-secondary
    .menu__link {
    padding-left: 0;
}

#__docusaurus .gradient-button:hover {
    background: linear-gradient(90deg, #3fdcf7 2.01%, #1890ff 99.51%);
}

#__docusaurus .gradient-button:hover a {
    @apply bg-transparent;
}

#__docusaurus .gradient-button:hover .export-icon {
    background: #1373cc;
    box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.25);
}

#__docusaurus .example-card {
    border: 1px solid #f5f5f5;
    box-shadow: 6px 8px 16px rgba(42, 42, 66, 0.1);
    filter: none;
}

#__docusaurus .example-card:hover {
    box-shadow: 6px 8px 16px rgba(42, 42, 66, 0.4);
    transform: scale(1.02);
}

/* #__docusaurus .navbar-sidebar__items.navbar-sidebar__items--show-secondary {
} */

html[data-customized="true"]
    #__docusaurus
    .navbar__item.dropdown.dropdown--hoverable.dropdown--right {
    display: none;
}

#__docusaurus .DocSearch-Search-Icon {
    @apply text-[#2A2A42];
}

#__docusaurus footer.ep-footer {
    background-color: #f6f6f9;
}

html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    footer.ep-footer {
    background-color: #272729;
}

html[data-customized="true"] #__docusaurus .navbar-theme-toggle {
    display: none;
}

html[data-customized="true"],
html[data-theme="dark"][data-customized="true"] {
    background: white;
}

#__docusaurus .navbar {
    @apply border-0 border-b border-solid border-b-[#F6F6F9] border-opacity-80 bg-white bg-opacity-80;
}

html[data-theme="dark"]:not([data-customized="true"]) #__docusaurus .navbar {
    @apply border-0 border-b border-solid border-b-[#2A2A42] border-opacity-80 bg-[#272729] bg-opacity-80;
}

html:not([data-theme="dark"]):not([data-customized="true"])
    #__docusaurus
    .navbar {
    @apply border-0 border-b border-solid border-b-[#F6F6F9] border-opacity-80 bg-white bg-opacity-80;
}

html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .ep-docsearch-button {
    @apply bg-[#1b1b1d];
}

html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .DocSearch-Button-Placeholder,
html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .DocSearch-Search-Icon,
html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .DocSearch-Button-Keys
    kbd {
    @apply text-[#F6F6F9];
}

html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .navbar
    .navbar__item,
html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .navbar
    .navbar__link {
    @apply text-[#F6F6F9];
}

html[data-theme="dark"]:not([data-customized="true"])
    #__docusaurus
    .navbar
    .header-github-link::before {
    @apply brightness-[50];
}

#__docusaurus .navbar .navbar__items .navbar__item {
    @apply text-sm;
}

#__docusaurus .navbar__items--right > :last-child {
    @apply pl-0;
}

#__docusaurus .theme-doc-sidebar-menu.menu__list .menu__link--active {
    color: #1890ff;
    position: relative;
}

#__docusaurus
    .with-hoverline
    .navbar-sidebar__items.navbar-sidebar__items--show-secondary
    .menu__link.menu__link--active::before {
    display: none;
}

#__docusaurus .theme-doc-sidebar-menu.menu__list .menu__link--active::before {
    content: "" !important;
    pointer-events: none;
    position: absolute !important;
    display: block !important;
    left: 8px;
    top: 14px;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: #1890ff;
}

#__docusaurus .theme-doc-sidebar-menu.menu__list .menu__link--active::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24"><path fill="rgba(24,144,255,1)" d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></svg>');
    filter: none;
}

#__docusaurus .theme-doc-sidebar-menu.menu__list .menu__link {
    padding-left: 22px;
}

/* #__docusaurus .navbar__item.dropdown.dropdown--hoverable.dropdown--right {
    @apply p-0;
} */

#__docusaurus .group:hover a:hover .nested-hover-visible {
    display: block;
}

#__docusaurus .group:hover a:hover .nested-hover-hidden {
    display: none;
}

#__docusaurus .footer__item {
    line-height: 18px;
}

.prop--tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.1px;
    padding: 0 4px;
    user-select: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    margin-right: 0;
    display: inline-block;
    margin-left: 5px;
    border-color: #9e9e9e;
    color: #9e9e9e;
}

.prop--tag__deprecated {
    border-color: #d97706;
    color: #d97706;
}

.prop--tag__required {
    border-color: #1890ff;
    color: #1890ff;
    font-size: 12px;
    line-height: 18px;
    vertical-align: middle;
}

.prop--tag__featured {
    border-color: #059669;
    color: #059669;
}

.props-table {
    font-size: 14px;
}

.props-table td,
.props-table th {
    padding: 6px 8px;
}

.props-table th {
    text-align: left;
}

.props-table .props-table__type-cell code {
    font-size: 12px;
}

.props-table {
    line-height: 1.5;
}

.props-table--name {
    vertical-align: middle;
}

.props-table--name__deprecated {
    text-decoration: line-through;
}

.props-table__type-cell *,
.props-table__description-cell *,
.props-table__default-value-cell *,
.props-list__info-item * {
    margin-bottom: 0;
}

.docs-wrapper table {
    font-size: 14px;
    line-height: 1.5;
}

#__docusaurus .theme-doc-sidebar-container{
    --ifm-font-size-base: 14px;
    font-size: 14px;
    border: none;
}

#__docusaurus .menu__link--sublist-caret::after,
#__docusaurus .menu__caret::before {
background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem;
}

#__docusaurus .theme-doc-breadcrumbs {
    margin-bottom: 1.25rem;
}

#__docusaurus .doc-article {
    /*max-width: 740px;*/
    margin: 0 auto;
}

#__docusaurus .markdown h1:first-child {
    --ifm-h1-font-size: 2.85rem;
    margin-top: 0.25rem;
}

#__docusaurus .tabs-container > ul.tabs {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 8px;
}
#__docusaurus .tabs-container > ul.tabs::before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--ifm-toc-border-color);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 3px;
    z-index: -1;
}
#__docusaurus .tabs-container > ul.tabs .tabs__item {
    padding: 0.75rem;
}

#__docusaurus .theme-code-block {
    /* color:  #bfc7d5; */
    background-color: #292d3e !important;
}

#__docusaurus .theme-code-block pre.prism-code {
    --prism-color: #bfc7d5;
    --prism-background-color: #292d3e;
}

[data-theme="dark"] #__docusaurus .playground-code > .theme-code-block {
    transition: 0.3s border-top ease-in-out;
}

[data-theme="dark"] #__docusaurus .playground-code-visible > .theme-code-block {
    border-top: 2px solid var(--browser-window-bezel-color-accent);
}

#__docusaurus .doc--toc-desktop {
    max-width: 285px;
}

@media (min-width: 997px) and (max-width: 1280px) {
    aside.theme-doc-sidebar-container + main div.container div.row div.col.col--3 {
            min-width: 30% !important;
    }
}

#__docusaurus .theme-doc-sidebar-container nav.menu {
    padding-top: 1.125rem;
}

#__docusaurus .tutorial__item-link {
    color: var(--tutorial-toc-text-color);
}

#__docusaurus .tutorial__item--toc-item {
    color: var(--tutorial-toc-text-color);
}

#__docusaurus .tutorial__item--toc-item.active,
#__docusaurus .tutorial__item--toc-item.active:hover,
#__docusaurus .tutorial__item--toc-item.active:active {
    color: var(--ifm-color-primary);
}

#__docusaurus .tutorial__item--unit-item {
    position: relative;
}

#__docusaurus .tutorial__item--unit-item::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background-color: var(--tutorial-toc-bg-color);
    position: absolute;
    right: -7px;
    bottom: 0;
}

#__docusaurus .tutorial__item--unit-item::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background-color: var(--ifm-background-color);
    position: absolute;
    right: -7px;
    bottom: 0;
    border-bottom-left-radius: 100px;
}

.checklist-container {
    @apply rounded px-6 py-5 mb-7;
    border-left: 5px solid var(--ifm-color-primary);
    background-color: var(--tutorial-toc-bg-color);
}

.checklist-container__title {
    @apply text-2xl font-bold text-sky-600 mb-4 flex items-center flex-wrap gap-2;
    color: var(--ifm-color-primary);
}

.checklist-item__button {
    @apply w-5 h-5 p-0 appearance-none border border-solid rounded flex justify-center items-center;
    border-color: var(--browser-window-bezel-color-accent);
    background-color: var(--color-bg-white);
}

[data-theme="dark"] .checklist-item__button {
    border-color: var(--browser-window-bezel-color-accent);
    background-color: #3a3e4a;
}

.checklist-item__icon {
    color: var(--ifm-color-primary);
}

.tutorial--framework-select--wrapper {
    font-size: 12px;
    text-align: center;
    background-color: var(--tutorial-toc-bg-color);
    @apply px-[10px] pt-[7px] pb-[10px];
}

.tutorial--framework-select--container {
    @apply mt-4;
}

.tutorial--framework-select__title {
    color: var(--tutorial-toc-text-color);
    text-align: center;
    font-size: 0.5rem;
    @apply font-montserrat tracking-wide;
}

.tutorial--framework-select__box {
    @apply pt-3 flex items-center justify-between;
}

.tutorial--framework-select--button {
    @apply underline;
}

.sourcecode-badge {
    @apply appearance-none no-underline text-xs font-bold bg-slate-800 text-white;
    font-size: 12px;
    line-height: 13px;
    height: 22px;
    padding-top: 4px;
    padding-bottom: 5px;
    vertical-align: middle;

    text-decoration: none;
    background-color: #24292f;
    color: white;
}

.sourcecode-badge:hover,
.sourcecode-badge:active,
.sourcecode-badge:focus,
.sourcecode-badge:visited {
    text-decoration: none;
    background-color: #24292f;
    color: white;
}

html[data-theme="dark"] .sourcecode-badge {
    background-color: var(--ifm-color-secondary);
    color: #24292f;
}

.sourcecode-badge svg {
    margin-right: 6px;
    height: 13px;
    width: 13px;
    margin-bottom: -2px;
}
